Differences between Oberon and Oberon-2

نویسندگان

  • Hanspeter Mössenböck
  • Niklaus Wirth
چکیده

Oberon–2 is a true extension of Oberon [1]. This paper summarizes the extensions and tries to shed some light on the motivations behind them. By that we hope to make it easier for the reader to classify Oberon–2. For details the reader is referred to the language report. One important goal for Oberon–2 was to make object–oriented programming easier without sacrificing the conceptual simplicity of Oberon. After three years of using Oberon and its experimental offspring Object Oberon [2] we merged our experiences into a single refined version of Oberon. The new features of Oberon–2 are type–bound procedures, read–only export of variables and record fields, open arrays as pointer base types, and a with statement with variants. The for statement is reintroduced after having been eliminated in the step from Modula–2 to Oberon. Oberon–2 is the result of many discussions among all members of the Institute for Computer Systems at ETH. It is particularly influenced by the ideas of Jürg Gutknecht and Josef Templ.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Adding Persistence to the Oberon-System

Oberon [ReWi92] and Oberon-2 [MöWi91] are general purpose programming languages in the tradition of Pascal and Modula-2. Oberon [WiGu89] is also a modular, single-threaded operating system for single-user operation of workstations. It is used in daily work as well as in programming courses. One missing point of Oberon is the existence of database functionality such as persistence or recovery. T...

متن کامل

Dynamic Semantics of the Oberon Programming Language

In this paper we present an abstract mathematical model for the dynamic semantics of the Oberon programming language using the Evolving Algebras approach. Oberon is the object-oriented successor of Pascal and Modula2. The resulting formal speciication is complete, compact, and understandable with minimal training.

متن کامل

Active Oberon Language Report

Active Oberon is an extension of the original Oberon language [29, 30]. Its purpose is to introduce features into the language to express concurrency by means of active objects. This report assumes that you already know Oberon; only the extensions to it are described here. The design of the language extension has been driven by the search for unification and symmetry. The changes are based on e...

متن کامل

Into the realm of Oberon - an introduction to programming and the Oberon-2 programming language

We may not be able to make you love reading, but into the realm of oberon an introduction to programming and the oberon 2 programming language will lead you to love reading starting from now. Book is the window to open the new world. The world that you want is in the better stage and level. World will always guide you to even the prestige stage of the life. You know, this is some of how reading...

متن کامل

Lightweight Parametric Polymorphism for Oberon

Strongly typed polymorphism is necessary for expressing safe reusable code. Two orthogonal forms of polymorphism exist: inclusion and parametric, the Oberon language only supports the former. We describe a simple extension to Oberon to support parametric polymor-phism. The extension is in keeping with the Oberon language: it is simple and has an explicit cost. In the paper we motivate the need ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Structured Programming

دوره 12  شماره 

صفحات  -

تاریخ انتشار 1991